/*
 * @Author: jqgao2
 * @Date: 2022-10-25 09:53:35
 * @LastEditTime: 2022-10-26 10:49:04
 * @Description: 自定义全局指令
 * @FilePath: \vue2-ele\src\directives\index.js
 * @LastEditors: jqgao2
 */
import Vue from "vue";
import focus from "./focus";
// 自定义指令
const directives = {
  focus,
};

Object.keys(directives).forEach((key) => {
  Vue.directive(key, directives[key]);
});
